package com.thlws.consul.service.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HanleyTang 2019-06-18
 */
@RestController
@RequestMapping("/srv")
public class IndexController {

    @RequestMapping("/hello")
    public Object hello(){
        return "hello srv.";
    }
}
